<#include "../template/page.ftl">
<@compress >
    <#assign title="测试页面"/>
    <@head title=title>
    <script type="text/javascript">

    </script>
    </@head>
<body>
<h2>${title}</h2>

<div style="margin: auto;width:800px;">


    <form id="loginForm" name="loginForm" action="${path}/doTestftl" method="post">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <th>用户名:</th>
                <td><input type="text" name="loginName">
                <#-- <#assign status = springMacroRequestContext.getBindStatus("loginForm.loginName")/>
             <#list status.errorMessages as error>${error}</#list>-->
                    <span style="color: #ff0000;"><@errors path="loginForm.loginName"/></span>
                </td>
            </tr>
            <tr>
                <th>密码:</th>
                <td><input type="password" name="password">
                    <span style="color: #ff0000;"><@errors path="loginForm.password"/></span>
                </td>
            </tr>
        </table>
        <input type="submit" value="提交">
    </form>
</div>
</body>
</html>
</@compress>